通过 order
中的charge
对象的 id
查询一个已创建的 charge
对象。
请求参数 | 描述 |
---|---|
ORDER_ID required string | order 对象的 id ,该参数仅需要填写在请求地址内。 |
CHARGE_ID required string | charge 对象的 id ,该参数仅需要填写在请求地址内。 |
返回
返回一个 charge
对象,或者返回一个错误,详见 错误。
GET https://api.pingxx.com/v1/orders/{ORDER_ID}/charges/{CHARGE_ID}
待补充
待补充
待补充
待补充
待补充
待补充
待补充
curl https://api.pingxx.com/v1/orders/2001608270000004421/charges/ch_mPGm1KOGG844eLWvDOfHWvvD \ -H "Pingplusplus-Signature: {SIGNATURE}" \ -H "Pingplusplus-Request-Timestamp: 1496728534" \ -u sk_test_ibbTe5jLGCi5rzfH4OqPW9KC:
待补充
待补充
待补充
待补充
待补充
待补充
待补充
{
"id": "ch_1Kyn50DyjXbHbvnv5SGK4qDK",
"object": "charge",
"created": 1502695440,
"livemode": false,
"paid": false,
"refunded": false,
"reversed": false,
"app": "app_1Gqj58ynP0mHeX1q",
"channel": "alipay_qr",
"order_no": "2017081400000006",
"client_ip": "127.0.0.1",
"amount": 800,
"amount_settle": 800,
"currency": "cny",
"subject": "Your Subject",
"body": "Your Body",
"extra": {},
"time_paid": null,
"time_expire": 1502781019,
"time_settle": null,
"transaction_no": null,
"refunds": {
"object": "list",
"url": "/v1/charges/ch_1Kyn50DyjXbHbvnv5SGK4qDK/refunds",
"has_more": false,
"data": []
},
"amount_refunded": 0,
"failure_code": null,
"failure_msg": null,
"metadata": {},
"credential": {
"object": "credential",
"alipay_qr": "http://sissi.pingxx.com/mock.php?ch_id=ch_1Kyn50DyjXbHbvnv5SGK4qDK&channel=alipay_qr"
},
"description": null
}